const columns = [
    {
        title: '序号',
        width:70,
        scopedSlots: {customRender: 'index'},
    },
    {
        title: '物资名称',
        width:200,
        dataIndex: 'materialName',
    },
    {
        title: '物料编码',
        width:130,
        dataIndex: 'materialCode',
    },
    {
        title: '规格型号',
        width:200,
        dataIndex: 'materialModel',
    },
    {
        title: '单位',
        width:80,
        dataIndex: 'materialUnit',
    },
    {
        title: '单价(元)',
        width:120,
        dataIndex: 'unitPrice',
        scopedSlots: { customRender: 'unitPrice' },
    },
    {
        title: '账面数',
        width:120,
        dataIndex: 'bookQuantity',
        scopedSlots: { customRender: 'bookQuantity' },
    },
    {
        title: '账面金额',
        width:120,
        dataIndex: 'bookAmount',
        scopedSlots: { customRender: 'bookAmount' },
    },
    {
        title: '实有数',
        width:120,
        dataIndex: 'quantity',
        scopedSlots: { customRender: 'quantity' },
    },
    {
        title: '实有金额',
        width:120,
        dataIndex: 'actualAmount',
        scopedSlots: { customRender: 'actualAmount' },
    },
    {
        title: '盘盈盘亏数',
        width:120,
        dataIndex: 'profitLossQuantity',
        scopedSlots: { customRender: 'profitLossQuantity' },
    },
    {
        title: '盘盈盘亏金额',
        width:120,
        dataIndex: 'profitLossAmount',
        scopedSlots: { customRender: 'profitLossAmount' },
    },
    {
        title: '原因说明',
        width:160,
        dataIndex: 'description',
        scopedSlots: { customRender: 'description' },
    }
]
export {columns}
